package com.beichuan_travel.model.vo;

import com.beichuan_travel.model.abstracts.Food;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Digits;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel(description = "食物")
@Data
public class FoodVO extends Food {

    /**
     * id
     */
    @ApiModelProperty(name = "id", value = "餐馆id")
    private Integer id;

    /**
     * img url
     */
    @ApiModelProperty(name = "imgurl", value = "美食的封面图片")
    private String imgUrl;

}
